package main

import (
	"fmt"
	"gitee.com/youbeiwuhuan/gin-practice/go-sqlx/base"
	"gitee.com/youbeiwuhuan/gin-practice/go-sqlx/query"
)

func main() {
	// 连接MySQL数据库
	db := base.CreateDb()
	u, err := query.GetUser(db, 1)
	fmt.Println(u, err)

}
